package ModelLayer;		//makes this class a part of the ModelLayer package
import java.io.Serializable;


/**
 * Write a description of class Person here.
 * 
 * @author (ucn-1semprojekt-dm78-gruppe1) 
 * 
 */
@SuppressWarnings("serial")
public class Person implements Serializable
{
    private String name;
    private String address;
    private String postal;
    private String city;
    private String phone;
    private String email;
    
    /**
     * Constructor for objects of class Person
     */
    public Person(String name, String address, String postal, String city, String phone, String email)
    {
        this.name = name;
        this.address = address;
        this.postal = postal;
        this.city = city;
        this.phone = phone;
        this.email = email;
    }

    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setPostal(String postal)
    {
        this.postal = postal;
    }
    
    public void setCity(String city)
    {
        this.city = city;
    }
    
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getName()
    {
    	return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getPostal()
    {
        return postal;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public String getEmail()
    {
        return email;
    }
    

}
